package m823.animal;

public class Bat extends Animal implements Fly{
    public Bat(String name, String variety) {
        super(name, variety);
    }

    @Override
    public void show() {
        System.out.println("这个蝙蝠的名字是"+getName()+"，品种是"+getVariety());
    }

    @Override
    public void flight() {
        System.out.println("这个蝙蝠飞起来了");
    }
}
